package com.sn.author.service.impl;

import com.sn.author.dao.TaskMessageMapper;
import com.sn.author.domain.entity.TaskMessage;
import com.sn.author.service.dao.TaskMessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author xiaom
 * @Date 2020/9/25 15:25
 * @Version 1.0.0
 * @Description <>
 **/
@Service
public class TaskMessageServiceImpl implements TaskMessageService {

    @Resource
    private TaskMessageMapper taskMessageMapper;

    @Override
    public void saveEntity(TaskMessage taskMessage) {
        taskMessageMapper.insert(taskMessage);
    }
}
